package com.shimao.celnet.payment.service;

import com.shimao.celnet.payment.form.BInvoiceCompanyForm;
import com.shimao.celnet.payment.model.BInvoiceCompany;

public interface BInvoiceCompanyService extends IService<BInvoiceCompany>{
    /**
     * 最新的分页查询方法
     * @param formBean
     * @param pageNum
     * @param length
     * @return
     */
    BInvoiceCompanyForm getByPage(BInvoiceCompanyForm formBean, int pageNum, int length);

    /**
     * 根据小区sfguid，取得开票公司 销方单位税号
     * @param estateSFGuid
     * @return
     */
    BInvoiceCompany getCompanyByEstateSFGuid(String estateSFGuid);

    /***
     * 保存对象
     * @param bInvoiceCompany
     */
    void saveByObject(BInvoiceCompany bInvoiceCompany);
}
